package com.wanyangproject.androidlearning.designMode.chainOfResponsibity;

public class HandlerFactory {


    public static BusinessHandler creatHandler(){
        BusinessHandler handler1 = new CEOHandler(null);
        BusinessHandler handler2 = new GeneralHandler(handler1);
        BusinessHandler handler3 = new ManagerHandler(handler2);
        BusinessHandler handler4 = new SaleManagerHandler(handler3);
        BusinessHandler handler5 = new SaleHandler(handler4);
        return handler5;
    }


}
